
#include	<iostream>

#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>

using namespace std;

int main( int argc, char **argv)
{
	CppUnit::TextUi::TestRunner runner;
	CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();
	runner.addTest( registry.makeTest() );
	
	CppUnit::TestFactoryRegistry& loglevelRegistry = CppUnit::TestFactoryRegistry::getRegistry("TestLogLevel");
	runner.addTest( loglevelRegistry.makeTest() );
	
	
	bool wasSuccessful = runner.run( "", false );

	return wasSuccessful;
}
